﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Cars
{
    public class ConsoleRenderer
    {
       
        public void PrintAll(List<Coordinate> objects)
        {
            foreach(var rock in objects)
            {
                Console.SetCursorPosition(rock.X, rock.Y);
                Console.Write(rock.Form);
            }
        }

        public void Clear()
        {
            Console.Clear();
        }
        
    }
}
